<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>调查窗口页</title>
		<link rel="stylesheet" href="../../css/mui.min.css">
		<link rel="stylesheet" href="../../css/base.css">
		<style>
			body {
			}
			.base_add_icon {
				height: 20px;
				position: absolute;
				top: 50%;
				right: 15px;
				margin-top: -11px;
			}
		</style>
	</head>
	<body>
		<div class="base_style_color " id='BarAppearance' style="height: 22px;width: 100%"></div>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar">
			<a class="base_left_item" href="#" onclick="backClick()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span id="title">调查</span>
		</div>
	</body>
	<script type="text/javascript" src="../../script/jquery.min.js"></script>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script src="../../script/requestTool.js"></script>
	<script src="../../script/mui.min.js"></script>
	<script type="text/javascript">
		apiready = function() {
			setupSubframe();
			ludongJudge()
		};
		function backClick() {
			sendBuriedNotifi('1', '学生端调查列表页', '176');
			api.closeWin();
		}
			//是否是鲁东智慧课堂
		function ludongJudge() {
			//读取消息推送
			var jid = $api.getStorage('cfnetppjxid');
			if (jid != 425) {//非鲁东智能课堂
				$('#title').text('调查');
			} else {
				$('#title').text('投票');
			}
		}

		function sendBuriedNotifi(busionessid, pagetype, pagetypeid) {
			var userinfo = {
				uid : $api.getStorage('cfnetppuid'),
				jid : $api.getStorage('cfnetppjxid'),
				uname : $api.getStorage('cfnetppusername'),
			}
			var data = {
				busionessid : busionessid,
				pagetype : pagetype,
				pagetypeid : pagetypeid,
				sourceurl : api.pageParam.sourceurl,
				sourcetitle : api.pageParam.sourcetitle,
				accesspageurl : window.location.pathname,
				accesspagetitle : document.title,
				userinfo : userinfo
			}
			SendBehaviorTrajectoriesNotifi_Study(data);
		}

		function setupSubframe() {
			var y = $('.base_navigation_bar').height() + 22;
			var h = api.winHeight - y;
			api.openFrame({
				name : 'Student_ResearchList',
				url : 'Student_ResearchList.html',
				rect : {
					x : 0,
					y : y,
					w : 'auto',
					h : h
				},
				pageParam : {
					cid : api.pageParam.cid,
					pid : api.pageParam.pid,
					sourceurl : window.location.pathname,
					sourcetitle : document.title
				},
				bounces : false,
				vScrollBarEnabled : true,
				hScrollBarEnabled : false
			});
		}
	</script>
</html>